<?php
namespace app\index\model;

use think\Model;

class User extends Model
{
	protected $pk = 'id';
	protected $table = 'tb_user';

	public function find(array $array){
		return $this->where($array)->find();
	}
}